Revert "Remove _gtk_box_get_children"
authorCarlos Garcia Campos <cgarcia@igalia.com>
Fri, 12 Feb 2016 12:21:14 +0000 (13:21 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Fri, 12 Feb 2016 12:29:21 +0000 (13:29 +0100)
commit170cb016759c4a949c7cd81291da498395f18fb3
tree6a995a0c4c1750eb848405c8d8a5315a92289346
parent452d25b13ddfdcd194a56df9605f83c80f86af95
Revert "Remove _gtk_box_get_children"

This reverts commit 572e9a04027e213082a5b257e5d662a5daa32667.

_gtk_box_get_children was not doing exactly the same than
gtk_container_get_children does, because the latter uses the forall
implementation of GtkBox that takes into account the children pack mode while
the former just iterated the list of children. This broke the order of
the buttons in a GtkButtonBox when they were packaged with PACK_END.
gtk/gtkbbox.c
gtk/gtkbox.c
gtk/gtkboxprivate.h